domctl: Fix the wrong return values when xsm_xxx() returns 0
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 29 Sep 2008 08:43:05 +0000 (09:43 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 29 Sep 2008 08:43:05 +0000 (09:43 +0100)
commit4b2d30ac85a069609c53df939b2289d200997cfb
tree32e473b61a7470d03e05673d9d0cde3755fd228a
parent1e93853893f950f1dae67a536a88ba0e700de9b4
domctl: Fix the wrong return values when xsm_xxx() returns 0

In 18423: 44f039c4aee4,  if xsm_xxx() returns 0, there are some places
where the return value would be incorrect. The patch fixes them.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/arch/x86/domctl.c